package com.syh.jn.scm.domain.downstream.repository.logistics;

import com.syh.core.ddd.infrastructure.repository.ReadRepo;
import com.syh.jn.scm.domain.downstream.entity.logistics.DownLogisticsBill;
import com.syh.jn.scm.domain.downstream.entity.logistics.DownLogisticsBillItem;

import java.util.List;

/**
 * Created by soci.song on 2018/11/2.
 */
public interface DownLogisticsBillReadRepository extends ReadRepo<DownLogisticsBill, Long> {
    /**
     * 根据订单id获取订单项
     * @param id
     * @return
     */
    List<DownLogisticsBillItem> getItemsByLogisticsBillId(Long id);
}
